
L = pdflatex
B = bibtex
FLAGS = -file-line-error
BFLAGS = -min-crossrefs -1

FILES = dok.aux  dok.lof  dok.log  dok.lot  dok.toc  dok.bbl  dok.blg
TEX = tex/dok.tex
AUX = dok
# the other tex files are included in dok.tex
       

all: 
	$(L) $(FLAGS) $(TEX) 
	#$(L) $(FLAGS) $(TEX) 
	$(B) $(BFLAGS) $(AUX) 
	$(L) $(FLAGS) $(TEX) 
	$(L) $(FLAGS) $(TEX) 

clean: 
	rm -f $(FILES)

.PHONY: clean

